package com.tencent.qf.systembiz.dao;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.tencent.qf.systembiz.dal.OperateLogDO;
import com.tencent.qf.systembiz.dal.OperateLogExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@DS("systemdatasource")
@Mapper
public interface OperateLogDao {
    long countByExample(OperateLogExample example);

    int deleteByExample(OperateLogExample example);

    int deleteByPrimaryKey(Long id);

    int insert(OperateLogDO record);

    int insertSelective(OperateLogDO record);

    List<OperateLogDO> selectByExample(OperateLogExample example);

    OperateLogDO selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") OperateLogDO record, @Param("example") OperateLogExample example);

    int updateByExample(@Param("record") OperateLogDO record, @Param("example") OperateLogExample example);

    int updateByPrimaryKeySelective(OperateLogDO record);

    int updateByPrimaryKey(OperateLogDO record);
}